const express = require("express");
const app = express();
app.use((req,res,next)=>{
    res.set("Access-Control-Allow-Origin","*");
    next();
})
app.use(express.static(__dirname));

app.listen(8080,()=>{
    console.log("success");
})